﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SDL3;
using 飞机大战.core;

namespace 飞机大战.entity
{
    internal partial class Player : Entity
    {
        public override partial void Clean()
        {
            throw new NotImplementedException();
        }

        public override partial void HandleEvents(SDL.Event event_)
        {
            // 处理鼠标事件，始终让玩家的飞机朝着鼠标移动
            if (event_.Type == ((uint)SDL.EventType.MouseMotion))
            {
                // 处理鼠标移动事件

            }
        }

        public override partial void Init()
        {
            throw new NotImplementedException();
        }

        public override partial void Render()
        {
            throw new NotImplementedException();
        }

        public override partial void Update(float dt)
        {
            throw new NotImplementedException();
        }

        private partial void CursorController()
        {
            var cursor_position_ = SDL.GetCursor();
        }
    }
}
